3.313 \(\int \frac {c-a^2 c x^2}{\sin ^{-1}(a x)} \, dx\)

Optimal. Leaf size=29 \[ \frac {3 c \text {Ci}\left (\sin ^{-1}(a x)\right )}{4 a}+\frac {c \text {Ci}\left (3 \sin ^{-1}(a x)\right )}{4 a} \]

[Out]

3/4*c*Ci(arcsin(a*x))/a+1/4*c*Ci(3*arcsin(a*x))/a

________________________________________________________________________________________

Rubi [A]  time = 0.06, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {4661, 3312, 3302} \[ \frac {3 c \text {CosIntegral}\left (\sin ^{-1}(a x)\right )}{4 a}+\frac {c \text {CosIntegral}\left (3 \sin ^{-1}(a x)\right )}{4 a} \]

Antiderivative was successfully verified.

[In]

Int[(c - a^2*c*x^2)/ArcSin[a*x],x]

[Out]

(3*c*CosIntegral[ArcSin[a*x]])/(4*a) + (c*CosIntegral[3*ArcSin[a*x]])/(4*a)

Rule 3302

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CosIntegral[e - Pi/2 + f*x]/d, x] /; FreeQ
[{c, d, e, f}, x] && EqQ[d*(e - Pi/2) - c*f, 0]

Rule 3312

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin
[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1])
)

Rule 4661

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[d^p/c, Subst[Int[(
a + b*x)^n*Cos[x]^(2*p + 1), x], x, ArcSin[c*x]], x] /; FreeQ[{a, b, c, d, e, n}, x] && EqQ[c^2*d + e, 0] && I
GtQ[2*p, 0] && (IntegerQ[p] || GtQ[d, 0])

Rubi steps

\begin {align*} \int \frac {c-a^2 c x^2}{\sin ^{-1}(a x)} \, dx &=\frac {c \operatorname {Subst}\left (\int \frac {\cos ^3(x)}{x} \, dx,x,\sin ^{-1}(a x)\right )}{a}\\ &=\frac {c \operatorname {Subst}\left (\int \left (\frac {3 \cos (x)}{4 x}+\frac {\cos (3 x)}{4 x}\right ) \, dx,x,\sin ^{-1}(a x)\right )}{a}\\ &=\frac {c \operatorname {Subst}\left (\int \frac {\cos (3 x)}{x} \, dx,x,\sin ^{-1}(a x)\right )}{4 a}+\frac {(3 c) \operatorname {Subst}\left (\int \frac {\cos (x)}{x} \, dx,x,\sin ^{-1}(a x)\right )}{4 a}\\ &=\frac {3 c \text {Ci}\left (\sin ^{-1}(a x)\right )}{4 a}+\frac {c \text {Ci}\left (3 \sin ^{-1}(a x)\right )}{4 a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 23, normalized size = 0.79 \[ \frac {c \left (3 \text {Ci}\left (\sin ^{-1}(a x)\right )+\text {Ci}\left (3 \sin ^{-1}(a x)\right )\right )}{4 a} \]

Antiderivative was successfully verified.

[In]

Integrate[(c - a^2*c*x^2)/ArcSin[a*x],x]

[Out]

(c*(3*CosIntegral[ArcSin[a*x]] + CosIntegral[3*ArcSin[a*x]]))/(4*a)

________________________________________________________________________________________

fricas [F]  time = 0.47, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {a^{2} c x^{2} - c}{\arcsin \left (a x\right )}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a^2*c*x^2+c)/arcsin(a*x),x, algorithm="fricas")

[Out]

integral(-(a^2*c*x^2 - c)/arcsin(a*x), x)

________________________________________________________________________________________

giac [A]  time = 0.36, size = 25, normalized size = 0.86 \[ \frac {c \operatorname {Ci}\left (3 \, \arcsin \left (a x\right )\right )}{4 \, a} + \frac {3 \, c \operatorname {Ci}\left (\arcsin \left (a x\right )\right )}{4 \, a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a^2*c*x^2+c)/arcsin(a*x),x, algorithm="giac")

[Out]

1/4*c*cos_integral(3*arcsin(a*x))/a + 3/4*c*cos_integral(arcsin(a*x))/a

________________________________________________________________________________________

maple [A]  time = 0.06, size = 22, normalized size = 0.76 \[ \frac {c \left (3 \Ci \left (\arcsin \left (a x \right )\right )+\Ci \left (3 \arcsin \left (a x \right )\right )\right )}{4 a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-a^2*c*x^2+c)/arcsin(a*x),x)

[Out]

1/4/a*c*(3*Ci(arcsin(a*x))+Ci(3*arcsin(a*x)))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ -\int \frac {a^{2} c x^{2} - c}{\arcsin \left (a x\right )}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a^2*c*x^2+c)/arcsin(a*x),x, algorithm="maxima")

[Out]

-integrate((a^2*c*x^2 - c)/arcsin(a*x), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {c-a^2\,c\,x^2}{\mathrm {asin}\left (a\,x\right )} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c - a^2*c*x^2)/asin(a*x),x)

[Out]

int((c - a^2*c*x^2)/asin(a*x), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ - c \left (\int \frac {a^{2} x^{2}}{\operatorname {asin}{\left (a x \right )}}\, dx + \int \left (- \frac {1}{\operatorname {asin}{\left (a x \right )}}\right )\, dx\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a**2*c*x**2+c)/asin(a*x),x)

[Out]

-c*(Integral(a**2*x**2/asin(a*x), x) + Integral(-1/asin(a*x), x))

________________________________________________________________________________________